package com.weight.system.command.VO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 指令表
 */
@Data
public class CommandInfoVO implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@Excel(name = "指令id")
	@JSONField(name = "commandId")
	private String commandId; //指令id

	@Excel(name = "指令")
	@NotBlank(message = "指令不能为空")
	@JSONField(name = "commandMesg")
	private String commandMesg; //指令

	@Excel(name = "指令名称")
	@NotBlank(message = "指令名称不能为空")
	@JSONField(name = "commandName")
	private String commandName; //指令名称

	@Excel(name = "命令类型")
	@NotNull(message = "命令类型不能为空")
	@JSONField(name = "commandType")
	private Integer commandType; //命令类型

	@Excel(name = "分组")
	@NotNull(message = "分组不能为空")
	@JSONField(name = "commandGroup")
	private Integer commandGroup; //分组

	@Excel(name = "分度值")
	@NotBlank(message = "分度值不能为空")
	@JSONField(name = "commandArea")
	private String commandArea; //分度值

	@Excel(name = "分度值类型")
	@NotNull(message = "分度值类型不能为空")
	@JSONField(name = "areaType")
	private Integer areaType; //分度值类型

	@Excel(name = "分度值刻度")
	@NotBlank(message = "分度值刻度不能为空")
	@JSONField(name = "areaOption")
	private String areaOption; //分度值刻度

	@Excel(name = "状态")
	@NotNull(message = "状态不能为空")
	@JSONField(name = "status")
	private Integer status; //状态


	public  CommandInfoVO(){
		super();
	}

	public  CommandInfoVO(String commandId,String commandMesg,String commandName,Integer commandType,Integer commandGroup,String commandArea,Integer areaType,String areaOption,Integer status){
		super();
		this.commandId = commandId;
		this.commandMesg = commandMesg;
		this.commandName = commandName;
		this.commandType = commandType;
		this.commandGroup = commandGroup;
		this.commandArea = commandArea;
		this.areaType = areaType;
		this.areaOption = areaOption;
		this.status = status;
	}

}